package com.jr.dao;

import com.jr.pojo.Salaries;
import com.jr.pojo2.EmpSalUsers;

import java.util.ArrayList;

public interface ISalariesDao {
    //在员工表添加成功后再添加薪酬表

    ArrayList<Salaries> selectBySalaries();
    ArrayList<Salaries> selectBySalaries(Salaries salaries);
    int insertSalaries(Salaries salaries);

    /* 添加 员工 时 同时添加 */
    int insertSalWithEmp(EmpSalUsers emp);

    int updateSalaries(Salaries salaries);
}
